package com.whty.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;
import java.util.Date;

/**
 * 产品表 gh_product
 * 
 * @author mario
 * @date 2018-10-31
 */
public class Product extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键ID */
	private Long id;
	/** 茶厂编号 */
	private String gardenNo;
	/** 产品名称 */
	private String productType;
	/** 产品溯源码 */
	private String productCode;
	/** 状态 */
	private String status;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;
	
	private Long amount;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}

	
	public String getGardenNo() {
		return gardenNo;
	}

	public void setGardenNo(String gardenNo) {
		this.gardenNo = gardenNo;
	}

	public void setProductType(String productType) 
	{
		this.productType = productType;
	}

	public String getProductType() 
	{
		return productType;
	}
	public void setProductCode(String productCode) 
	{
		this.productCode = productCode;
	}

	public String getProductCode() 
	{
		return productCode;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	
    public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gardenNo", getGardenNo())
            .append("productType", getProductType())
            .append("productCode", getProductCode())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
